package com.example.esredisrabbitmqdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.annotation.Transactional;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableCaching //开启缓存
@EnableSwagger2 //swagger
@EnableElasticsearchRepositories //开启es数据仓库功能
@SpringBootApplication
public class EsRedisRabbitmqDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(EsRedisRabbitmqDemoApplication.class, args);
    }

}
